<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>JS上机题-在线翻译</title>
	<link rel="stylesheet" href="css/style.css">
</head>
<body>
	<div class="warper">
    <div class="header">
        <h1>翻译</h1>
        <h4>中英互译</h4>
    </div>
    <div class="main" id="zh">
        <div class="main-zuo lala">
            <button class="t">中文</button>
            <button>英语</button>
        </div>
        <div class="main-zhong">
            <button  onclick="res()"><img src="p.png" alt="" ></button>
        </div>
        <div class="main-you lala">
            <button class="t">英语</button>
            <button>中文</button>
        </div>
    </div>
    <form action="">
        <textarea name="" id="new" cols="30" rows="10"></textarea>
        <textarea name="" id="new1" cols="30" rows="10" class="h" placeholder="翻译"></textarea>
        
    </form>
    <footer>
        <button id="fy" onclick="zhToEn();tom()">翻译</button>
    </footer>
</div>
	<script src="js/script.js"></script>
</body>
</html>